<template>
  <!--    公共组件-头部导航栏-->
  <publicTop></publicTop>
  <!--  周报内容-->
  <div id="weekly">
    <router-view></router-view>
  </div>
  <!--    公共组件-底部导航栏-->
  <publicBot></publicBot>
</template>

<script>
import {defineComponent} from 'vue';
import publicTop from "@/components/publicTop";
import publicBot from "@/components/publicBot";

export default defineComponent({
  name: 'weekly',
  setup() {
  },
  components: {
    publicTop,
    publicBot,
  },
})
</script>

<style lang="less">
body {
  background: #F5F5F5;
}

ul {
  list-style: none;
}

#weekly {
  display: flex;
  justify-content: center;
min-height: 100%;
  .button {
    display: inline-block;
    border-radius: 4px;
    background: #6777EF;
    border: none;
    color: #FFFFFF;
    text-align: center;
    font-size: 28px;
    padding: 20px;
    transition: all 0.5s;
    cursor: pointer;
    margin: 5px;
    height: 44px;
  }

  .button span {
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: 0.5s;
    font-size: 15px;
    top: -25px;
    color: #fff;
  }

  .button span:after {
    content: '>>';
    position: absolute;
    opacity: 0;
    top: 0;
    right: -20px;
    color: #fff;
    transition: 0.5s;
  }

  .button:hover {
    background-color: #3C50E1;
  }

  .button:hover span {
    padding-right: 25px;
  }

  .button:hover span:after {
    opacity: 1;
    right: 0;
  }
}
</style>